UPDATE [dbo].[Layout]
   SET [Row] = 9,[Column] =[Row]-10
 WHERE [Column]=1
 
 UPDATE [dbo].[Layout]
   SET [Row] = [Row]-20,[Column] = 9
      
	WHERE [Column]=2 and [Row] > 9
	
	
	UPDATE [dbo].[Layout]
   SET [Row] = 9,[Column] =[Row]-30
 WHERE [Column]=3 and [Row] > 9
GO

GO


